package com.zycfc.zsf.boot.logback.consts;

import com.syg.boot.util.common.AbstractEnum;

public enum LogTypeEnum implements AbstractEnum<String>
{
    BIZTRAN("BIZTRAN", "\u4e1a\u52a1\u4ea4\u6613\u6d41\u6c34\u57cb\u70b9"), 
    RULETRAN("RULETRAN", "\u89c4\u5219\u5f15\u64ce\u4ea4\u6613\u6d41\u6c34\u57cb\u70b9"), 
    SQL("SQL", "SQL\u57cb\u70b9"), 
    CHAIN("CHAIN", "\u8c03\u7528\u94fe\u57cb\u70b9"), 
    REDIS("REDIS", "Redis\u8c03\u7528\u57cb\u70b9"), 
    REDISMOR("REDISMOR", "Redis\u8c03\u7528\u660e\u7ec6\u57cb\u70b9"), 
    COS("COS", "COS\u5bf9\u8c61\u5b58\u50a8\u8c03\u7528\u57cb\u70b9"), 
    FILE("FILE", "\u6587\u4ef6\u76d1\u63a7\u57cb\u70b9 - \u6c47\u603b\u4fe1\u606f"), 
    FILESTEP("FILESTEP", "\u6587\u4ef6\u76d1\u63a7\u57cb\u70b9 - \u64cd\u4f5c\u6b65\u9aa4\u4fe1\u606f");
    
    private final String value;
    private final String message;
    public static final String TYPE_SPLIT = "@@@";
    public static final String DATA_SPLIT = "#@%@#";
    public static final String EXCEPTION_MSG_SPLIT = "##@##";
    
    private LogTypeEnum(final String value, final String message) {
        this.value = value;
        this.message = message;
    }
    
    public String getMessage() {
        return this.message;
    }
    
    public String getValue() {
        return this.value;
    }
}
